package org.phalanx.gwt.client.shared;

import org.phalanx.gwt.client.constants.PhalanxColorConstants;

import com.google.gwt.event.dom.client.ChangeEvent;
import com.google.gwt.event.dom.client.ChangeHandler;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.ListBox;

public class PhalanxTeamPickerListBox extends ListBox {
	private String defaultColor;
	
	public PhalanxTeamPickerListBox(){
		super();
		defaultColor = DOM.getElementProperty(this.getElement(), "color");
		initializeItems();
	}

	private void initializeItems(){
		this.addItem("Select Team", "null");
		this.addItem("Aqua", "0");
		this.addItem("Black", "1");
		this.addItem("Blue", "2");
		this.addItem("Brown", "3");
		this.addItem("Dark Gray", "4");
		this.addItem("Gray", "5");
		this.addItem("Green", "6");
		this.addItem("Light Blue", "7");
		this.addItem("Light Green", "8");
		this.addItem("Orange", "9");
		this.addItem("Pink", "10");
		this.addItem("Purple", "11");
		this.addItem("Red", "12");
		this.addItem("Tan", "13");
		this.addItem("White", "14");
		this.addItem("Yellow", "15");
	}
}
